package com.n5x.mapper.shopping;

import com.n5x.model.shopping.ShoppingOrder;
import com.n5x.model.shopping.ShoppingOrderExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface ShoppingOrderMapper {
    int countByExample(ShoppingOrderExample example);

    int deleteByExample(ShoppingOrderExample example);

    int deleteByPrimaryKey(String id);

    int insert(ShoppingOrder record);

    int insertSelective(ShoppingOrder record);

    List<ShoppingOrder> selectByExample(ShoppingOrderExample example);

    ShoppingOrder selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") ShoppingOrder record, @Param("example") ShoppingOrderExample example);

    int updateByExample(@Param("record") ShoppingOrder record, @Param("example") ShoppingOrderExample example);

    int updateByPrimaryKeySelective(ShoppingOrder record);

    int updateByPrimaryKey(ShoppingOrder record);

    List<ShoppingOrder>  selectUserShopingOrder(Map map);

    int countUserShopingOrder(Map map);
}